﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Modules_IA_Login" %>

<!DOCTYPE html>

<html>
<head>
    <title>欢迎使用智能花园灌溉系统</title>
    <link href="css/loginstyle.css" rel="stylesheet" type="text/css" media="all" />
    <link href="css/leaflrtk.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/jquery.js"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
     <div class="btn" style="float:left; margin-top:270px;margin-left:270px; width: 30%">
			<button id="botAgregar">点击添加更多树叶</button>
    </div>
    <div class="message warning">
            
        <div class="inset">
            <div class="login-head">
                <h1>进入管理</h1>
            </div>
            <form id="loginform" runat="server">
                <asp:Label ID="error" runat="server" ForeColor="Red"></asp:Label>
                <li>
                    <asp:Label ID="account" runat="server" Text="账　号:"></asp:Label>
                    <asp:TextBox ID="txtaccount" runat="server" Width="30%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtaccount" ErrorMessage="*请输入用户名" Font-Size="Small" ForeColor="Red"></asp:RequiredFieldValidator>
                </li>
                <div class="clear">
                </div>
                <li>
                    <asp:Label ID="password" runat="server" Text="密　码:"></asp:Label>
                    <asp:TextBox ID="txtpassword" runat="server" Width="30%" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtpassword" ErrorMessage="*请输入密码　" Font-Size="Small" ForeColor="Red"></asp:RequiredFieldValidator>
                </li>
                <div class="clear"></div>
                
                
                   
               
                <li>
                    <asp:Label ID="SecurityCode" runat="server" Text="验证码:"></asp:Label>
                    <asp:TextBox ID="txtSecurityCode" runat="server" Width="30%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtSecurityCode" ErrorMessage="*请输入验证码" Font-Size="Small" ForeColor="Red"></asp:RequiredFieldValidator>
                </li>
                <li >
                    <asp:Image id="imgcode" alt="图片验证码" src="../../Modules/SecurityCode/ImageUniqueCode.ashx" runat="server" />
                    <a href = "login.aspx">
                    <asp:Label ID="NSecurityCode" runat="server" Text="看不清" Font-Size="Small" Font-Underline="True"></asp:Label>
                    </a>
                    
                 </li>
                    <div class="clear"> </div>
                <li>
                    <div class="submit">
                        <asp:Button ID="btnlogin" runat="server" Text="登录" OnClick="btnlogin_Click" />
                        <div class="clear">
                        </div>
                    </div>
                </li>
            </form>
        </div>
    </div>
   
    <div class="Upper">
	<table style="width:100%" border="0" cellspacing="0" cellpadding="0" align="center">

		<tr>
			<td>
			<table style="width:600px" border="0" cellspacing="0" cellpadding="0" align="center">

				<tr>
					<td style="padding:70px 0 0" align="left" width="385">
					<h1 style="color:#f4f2ed"></h1>
					<p style="color:#d3f1a0"></p>
					</td>
					<td style="padding:15px 0 0" align="right" width="215">
					<img src="images/Autom-Leaf.png"> </td>
				</tr>
				<tr>
					<td style="padding:10px 0" colspan="2" align="right"></td>
				</tr>
                
			</table>
			</td>
		</tr>
	</table>
    
    </div>
    <script type="text/javascript">$.AutomLeafStart({ leafsfolder: "images/", howmanyimgsare: 8, initialleafs: 10, maxYposition: -10, multiplyclick: true, multiplynumber: 2, infinite: true, fallingsequence: 4000 }); $("#botAgregar").on("click", function () { $.AutomLeafAdd({ leafsfolder: "images/", add: 8, }) });</script>

    
</body>
</html>
